xen/sndif: Add sound-device ABI
authorOleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Mon, 20 Mar 2017 07:03:27 +0000 (09:03 +0200)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 4 Apr 2017 20:15:06 +0000 (16:15 -0400)
commit045d5d10ee5f0066a7e71d1fe18f9c7c27d64703
tree0eb0d89ef4d7257bf0f2c14310e668937a27144c
parentc4bdbec00c9063736361124a3492ebceabfaed06
xen/sndif: Add sound-device ABI

Add ABI for the two halves of a para-virtualized
sound driver to communicate with each other.

The ABI allows implementing audio playback and capture as
well as volume control and possibility to mute/unmute
audio sources.

Note: depending on the use-case backend can expose more sound
cards and PCM devices/streams than the underlying HW physically
has by employing SW mixers, configuring virtual sound streams,
channels etc. Thus, allowing fine tunned configurations per
frontend.

Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Signed-off-by: Oleksandr Grytsov <oleksandr_grytsov@epam.com>
Signed-off-by: Oleksandr Dmytryshyn <oleksandr.dmytryshyn@globallogic.com>
Signed-off-by: Iurii Konovalenko <iurii.konovalenko@globallogic.com>
xen/include/public/io/sndif.h [new file with mode: 0644]